package com.gougou.shiro.token;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * Created by EX-ZHANZHENQIANG001 on 2018-04-28.
 */
public class GougouToken extends UsernamePasswordToken {

    private String uName;

    private String pWord;

    public GougouToken() {
    }

    public GougouToken(String uName, String pWord) {
        super(uName, pWord);
        this.uName = uName;
        this.pWord = pWord;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getpWord() {
        return pWord;
    }

    public void setpWord(String pWord) {
        this.pWord = pWord;
    }

    @Override
    public String toString() {
        return "GougouToken{" +
                "uName='" + uName + '\'' +
                ", pWord='" + pWord + '\'' +
                '}';
    }
}
